package com.carpedil.sm.po;

import lombok.Data;
import org.springframework.stereotype.Component;

import java.util.Date;

/** @author Administrator */
@Component
@Data
public class User {
  private Integer id;
  private String userName;
  private String passWord;
  private String nickName;
  private Date regTime;

  public User() {
    this.id = 1;
    this.userName = "zhang3";
  }

  public User(Integer id, String username, String password, String nickname, Date regTime) {
    this.id = id;
    this.userName = username;
    this.passWord = password;
    this.nickName = nickname;
    this.regTime = regTime;
  }
}
